package com.cssy.xxkj.logic.dao;

import java.util.List;
import java.util.Map;

import com.cssy.xxkj.logic.entity.LogicOutsideBoundItemDO;
import com.plat.exception.SyBaseException;

/**
 * 数据访问对象接口
 * @since 2014-10-14
 */
public interface LogicOutsideBoundItemDAO {

    /**
     * 插入数据
     * @param logicOutsideBoundItemDO
     * @return 插入数据的主键
     */
    public String insertLogicOutsideBoundItemDO(LogicOutsideBoundItemDO logicOutsideBoundItemDO);

    /**
     * 统计记录数
     * @param logicOutsideBoundItemDO
     * @return 查出的记录数
     */
    public Integer countLogicOutsideBoundItemDOByExample(LogicOutsideBoundItemDO logicOutsideBoundItemDO);

    /**
     * 更新记录
     * @param logicOutsideBoundItemDO
     * @return 受影响的行数
     */
    public Integer updateLogicOutsideBoundItemDO(LogicOutsideBoundItemDO logicOutsideBoundItemDO);

    /**
     * 获取对象列表
     * @param logicOutsideBoundItemDO
     * @return 对象列表
     */
    public List<LogicOutsideBoundItemDO> findListByExample(LogicOutsideBoundItemDO logicOutsideBoundItemDO);
    
    public List<LogicOutsideBoundItemDO> findListByMap(Map<String, Object> paramMap)throws SyBaseException;

    /**
     * 根据主键获取logicOutsideBoundItemDO
     * @param id
     * @return logicOutsideBoundItemDO
     */
    public LogicOutsideBoundItemDO findLogicOutsideBoundItemDOByPrimaryKey(String id);

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicOutsideBoundItemDOByPrimaryKey(String id);

}